#region Imported Namespaces



using System;
using System.Runtime.InteropServices;



#endregion


namespace WtfManager.WindowsNative.Shell32
{
  [ComImport]
  [Guid("000214E2-0000-0000-C000-000000000046")]
  [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  public interface IShellBrowser
  {
    [PreserveSig]
    int GetWindow(out IntPtr phwnd);


    [PreserveSig]
    int ContextSensitiveHelp(bool fEnterMode);


    [PreserveSig]
    int InsertMenusSB(IntPtr hmenuShared, ref IntPtr lpMenuWidths);


    [PreserveSig]
    int SetMenuSB(IntPtr hmenuShared, IntPtr holemenuRes, IntPtr hwndActiveObject);


    [PreserveSig]
    int RemoveMenusSB(IntPtr hmenuShared);


    [PreserveSig]
    int SetStatusTextSB(string pszStatusText);


    [PreserveSig]
    int EnableModelessSB(bool fEnable);


    [PreserveSig]
    int TranslateAcceleratorSB(IntPtr pmsg, short wID);


    [PreserveSig]
    int BrowseObject(IntPtr pidl, uint wFlags);


    [PreserveSig]
    int GetViewStateStream(long grfMode, ref UCOMIStream ppStrm);


    [PreserveSig]
    int GetControlWindow(uint id, ref IntPtr phwnd);


    [PreserveSig]
    int SendControlMsg(uint id, uint uMsg, short wParam, long lParam, ref long pret);


    [PreserveSig]
    int QueryActiveShellView(ref IShellView ppshv);


    [PreserveSig]
    int OnViewWindowActive(IShellView pshv);


    [PreserveSig]
    int SetToolbarItems(IntPtr lpButtons, uint nButtons, uint uFlags);
  }
}